import { defineStore } from "pinia";

export const menuStore = defineStore({
  id: "menu",
  state: () => ({
    menuList: []
  }),
  actions: {
    getMenuList(menuList) {
      // 获取菜单列表
      this.menuList = menuList;
    },
  },
});
